package com.zzl.finance.order.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
    * 订单发票关联表
    */
@Data
@TableName(value = "o_order_invoice_relation")
public class OrderInvoiceRelationEntity {
    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.INPUT)
    private String id;

    /**
     * 发票id
     */
    @TableField(value = "invoice_id")
    private String invoiceId;

    /**
     * 订单id
     */
    @TableField(value = "order_id")
    private String orderId;
}